package com.cl.unipay4j.core.transfer;

import com.cl.unipay4j.core.IBaseEnum;

/**
 * 银行账户类型
 *
 * @author siashan
 * @since v1.0.1
 **/
public enum BankAccountType implements IBaseEnum<String> {
    /**
     * 对私账户
     */
    PRIVATE("PRIVATE", "对私账户"),
    /**
     * 对公账户
     */
    CORPORATE("CORPORATE", "对公账户"),
    ;
    private String value;
    private String desp;

    BankAccountType(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
